package com.tutucms.service.admin.model.ro;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * Created by wangxudong on 2020/09/07.
 *
 * @version: 1.0
 * @modified :
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("编辑文章对象")
public class EditArticleRo extends com.tutucms.service.admin.model.ro.AddArticleRo {

    @NotNull(message = "文章id不能为空")
    private Long id;
}
